package com.cuitrip.mode;

/**
 * Created by MiJack on 2015/11/21.
 */
public enum KeyTransform {
    NONE, LOWER, UPPER;

    public String Transform(String s) {
        switch (this) {
            case LOWER:
                return s.toLowerCase();
            case UPPER:
                return s.toUpperCase();
            case NONE:
            default:
                return s;
        }
    }
}